@echo off
REM ==========================================================
REM Project - ftpconn
REM ==========================================================
setlocal

call "%~dp0setenv.bat"

REM ==========================================================
REM Change the directory context
REM ==========================================================
cd /d "%~dp0"

REM Below setting for the <ftp> regression task.
set ANT_CP=%ANT_CP%;%ANT_HOME%\lib\ant-commons-net.jar
set ANT_CP=%ANT_CP%;%ANT_HOME%\lib\ant-contrib-1.0b1.jar
set ANT_CP=%ANT_CP%;%ANT_HOME%\ib\ant-apache-oro.jar

title Cordys FTP Connector

REM ==========================================================
REM Invoke ant build
REM ==========================================================
"%JAVA_HOME%\bin\java.exe" -cp "%ANT_CP%" org.apache.tools.ant.Main -Droot.dir="." "-Dsdk.dir=sdk" %*

goto :end

:end
endlocal